package com.team.dao;

import com.team.entity.Duty;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DutyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Duty record);

    int insertSelective(Duty record);

    Duty selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Duty record);

    int updateByPrimaryKey(Duty record);

    List<Duty> selectSectionId(@Param("id") int id);

    int insertDuty(Duty duty);

    int updateCount(@Param("did") int did,@Param("count") int count);
}